
	<div id="top">
		<div class="container">
			<div class="pull-right">
				<a href="">Home</a>
				<a href="">官方微博</a>
				<a href="">关于我们</a>
				<a href="/users/login">登陆</a>
				<a href="/users/register">注册</a>
			</div>
		</div>
		<div class="topbgline"></div>
	</div>
	<div id="logo">
		<div class="container">
			<div class="pull-left">
				<a href="">
					<img src="image/logo.png">
				</a>
			</div>
			<div class="pull-right" id="seacher">
				<input type="text" name="" class="" placeholder="请输入关键字"><button>搜索</button>
			</div>
		</div>
	</div>

	<div class="navbar navbar-default" id="nav">
		<div class="container">
			<div class="navbar-header">
				<ul class="nav navbar-nav">
					<li <% if(cata_id ==0){%> class="active" <%} %>><a href="/">首页</a></li>
					<% for(var i = 0; i<catalog.length; i++ ){%>
					<li <% if(cata_id==catalog[i].id){ cata_name = catalog[i].name %> class="active" <% }%> ><a href="/news?id=<%= catalog[i].id %>"><%= catalog[i].name %></a></li>
					<%}%>
				</ul>
			</div>
		</div>
	</div>